import http from '@/utils/request'

// 获取商品分类
export function getGoodsType(shopId) {
	return http.get('/shop/goods/type/' + shopId)
}

// 新增商品分类
export function addGoodsType(param) {
	return http.post('/shop/goods/type/add',param)
}

// 修改商品分类
export function editGoodsType(param) {
	return http.post('/shop/goods/type/edit',param)
}

// 删除商品分类
export function delGoodsType(param) {
	return http.delete('/shop/goods/type/del',param)
}
